package com.oa.bean;

import java.sql.Timestamp;

/**
 * TNotes entity. @author MyEclipse Persistence Tools
 */

public class TNotes implements java.io.Serializable {

	// Fields

	private Integer pid;
	private Integer depid;
	private Integer ptype;
	private String pclass;
	private String pdatetime;
	private String pdesc;

	// Constructors

	/** default constructor */
	public TNotes() {
	}

	/** full constructor */
	public TNotes(Integer depid, Integer ptype, String pclass,
			String pdatetime, String pdesc) {
		this.depid = depid;
		this.ptype = ptype;
		this.pclass = pclass;
		this.pdatetime = pdatetime;
		this.pdesc = pdesc;
	}

	// Property accessors

	public Integer getPid() {
		return this.pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public Integer getDepid() {
		return this.depid;
	}

	public void setDepid(Integer depid) {
		this.depid = depid;
	}

	public Integer getPtype() {
		return this.ptype;
	}

	public void setPtype(Integer ptype) {
		this.ptype = ptype;
	}

	public String getPclass() {
		return this.pclass;
	}

	public void setPclass(String pclass) {
		this.pclass = pclass;
	}

	public String getPdatetime() {
		return this.pdatetime;
	}

	public void setPdatetime(String pdatetime) {
		this.pdatetime = pdatetime;
	}

	public String getPdesc() {
		return this.pdesc;
	}

	public void setPdesc(String pdesc) {
		this.pdesc = pdesc;
	}

	@Override
	public String toString() {
		return "TNotes [pid=" + pid + ", depid=" + depid + ", ptype=" + ptype + ", pclass=" + pclass + ", pdatetime="
				+ pdatetime + ", pdesc=" + pdesc + "]";
	}

}